Skip to main content

CreateUserSetting

Description

Modify the baseline check configuration and specify the number of days that the failure risk is automatically deleted.

Request Method

POST

Request Path

/apsara/route/aegis/CreateUserSetting

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
InvalidWarningKeepDaysBODYintegerNoNo sample value for this parameter.The number of days the expired risk item is retained. The value range is: 7: indicates that the invalid risk item record is deleted after 7 days 30: indicates that the invalid risk item record is deleted after 30 days 90: indicates that the invalid risk item record is deleted after 90 days
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}